<template>
  <view class="container">
    <!-- 头部 -->
    <view class="header">
      <image class="avatar" src="/static/logo.png"></image>
      <text class="username">未登录</text>
    </view>
    <!-- 图标菜单 -->
    <view class="icon-menu" style="display: none">
      <view class="icon-item">
        <uni-icons type="chatbubble" size="30" color="#007AFF"></uni-icons>
        <text>文字</text>
      </view>
      <view class="icon-item">
        <uni-icons type="cloud" size="30" color="#007AFF"></uni-icons>
        <text>文字</text>
      </view>
      <view class="icon-item">
        <uni-icons type="contact" size="30" color="#007AFF"></uni-icons>
        <text>文字</text>
      </view>
      <view class="icon-item">
        <uni-icons type="paperplane" size="30" color="#007AFF"></uni-icons>
        <text>文字</text>
      </view>
    </view>
    <!-- 列表 -->
    <view class="list">
      <view class="list-item">
        <text>普通签到</text>
        <uni-icons type="right" size="20" color="#C7C7CC"></uni-icons>
      </view>
      <view class="list-item">
        <text>我的积分</text>
        <uni-icons type="right" size="20" color="#C7C7CC"></uni-icons>
      </view>
      <view class="list-item">
        <text>留言板示例</text>
        <uni-icons type="right" size="20" color="#C7C7CC"></uni-icons>
      </view>
      <view class="list-item">
        <text>问题与反馈</text>
        <uni-icons type="right" size="20" color="#C7C7CC"></uni-icons>
      </view>
      <view class="list-item">
        <text>设置</text>
        <uni-icons type="right" size="20" color="#C7C7CC"></uni-icons>
      </view>
      <view class="list-item">
        <text>关于</text>
        <uni-icons type="right" size="20" color="#C7C7CC"></uni-icons>
      </view>
    </view>
  </view>
</template>


<style>
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f5f5f5;
  height: 100vh;
  //padding-top: 50px;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #eaeaea;
  width: 100%;
  padding: 20px 0;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.username {
  font-size: 18px;
  color: #333;
}

.icon-menu {
  display: flex;
  justify-content: space-around;
  background-color: #fff;
  width: 100%;
  padding: 10px 0;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #007AFF;
}

.icon-item text {
  margin-top: 5px;
  font-size: 12px;
}

.list {
  width: 100%;
  margin-top: 20px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 15px;
  border-bottom: 1px solid #eaeaea;
}

.list-item text {
  font-size: 16px;
  color: #333;
}
</style>
<script setup>
import template from "@/useless/pagesss/template/template.nvue";
</script>
